#ifndef SESSION_MANAGER_H
#define SESSION_MANAGER_H

#include <vector>
#include "session.h"

class session_manager
{
private:
	std::vector<session> m_sessions;
	
public:
	session& find_session(struct sockaddr_in *client_addr);
	int find_session_index(struct sockaddr_in *client_addr);
	void delete_session(int session_index);
};

#endif // SESSION_MANAGER_H
